<?php /* Smarty version 2.6.25, created on 2012-12-10 04:09:35
         compiled from tpl/agenda_modificar.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "tpl/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "tpl/menu.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<h1>Agenda</h1>

<form  action="agenda_grabar.php" method="post" accept-charset="utf-8" id='agenda_modificar' name='agenda_modificar'>
    <input type="hidden" name="id_agenda" value="!--{$id_agenda}--">
<input type="hidden" name="id_usuario" value="!--{$id_usuario}--">
<label>Rango de fecha: </label>
<select name="tiempo" id="tiempo" required>
    <?php $_from = $this->_tpl_vars['tiempos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
?>
    <option value="<?php echo $this->_tpl_vars['key']; ?>
"><?php echo $this->_tpl_vars['item']; ?>
</option>
    <?php endforeach; endif; unset($_from); ?>
</select>
<br>

<label>Tarea a realizar:</label>
<input type="text" name="descripcion" id="description" required=""></input>
<br>

<label>Categor&iacute;a del servicio</label>
<select name="id_categoria" id="id_categoria" required>
    <option>Seleccione una..</option>
    <?php $_from = $this->_tpl_vars['categorias']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
?>
    <option value="<?php echo $this->_tpl_vars['key']; ?>
"><?php echo $this->_tpl_vars['item']; ?>
</option>
    <?php endforeach; endif; unset($_from); ?>
</select>
<br/>

<label>Nota:</label>
<textarea id="nota" name="nota" style="width:200px;height:60px"></textarea>
<br/>
<input type="submit" value="Guardar"/>
  </form>


<script>
  $(document).ready(function(){
      	
        $("#agenda_modificar").ketchup();
         
  });
  </script>
</body>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "tpl/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>